package cn.nirvana.aloha.model;


/**
 * @author lidongwei
 * @create 2023-08-11-17:30
 */
public enum KeysEnum {
    LEFT_CTRL("key_leftCtrl", "Ctrl", -8),
    LEFT_SHIFT("key_leftShift", "Shift", -7),
    LEFT_ALT("key_leftAlt", "Alt", -6),
    LEFT_GUI("key_leftGUI", "Win", -5),
    RIGHT_CTRL("key_rightCtrl", "Ctrl", -4),
    RIGHT_SHIFT("key_rightShift", "Shift", -3),
    RIGHT_ALT("key_rightAlt", "Alt", -2),
    RIGHT_GUI("key_rightGUI", "Win", -1),
    RESERVED("key_reserved", "Reserved", 0),
    ERROR_ROLL_OVER("key_errorRollOver", "ErrorRollOver", 1),
    POST_FAIL("key_postFail", "PostFail", 2),
    ERROR_UNDEFINED("key_errorUndefined", "ErrorUndefined", 3),
    A("key_a", "A", 4),
    B("key_b", "B", 5),
    C("key_c", "C", 6),
    D("key_d", "D", 7),
    E("key_e", "E", 8),
    F("key_f", "F", 9),
    G("key_g", "G", 10),
    H("key_h", "H", 11),
    I("key_i", "I", 12),
    J("key_j", "J", 13),
    K("key_k", "K", 14),
    L("key_l", "L", 15),
    M("key_m", "M", 16),
    N("key_n", "N", 17),
    O("key_o", "O", 18),
    P("key_p", "P", 19),
    Q("key_q", "Q", 20),
    R("key_r", "R", 21),
    S("key_s", "S", 22),
    T("key_t", "T", 23),
    U("key_u", "U", 24),
    V("key_v", "V", 25),
    W("key_w", "W", 26),
    X("key_x", "X", 27),
    Y("key_y", "Y", 28),
    Z("key_z", "Z", 29),
    NUM_1("key_1", "1", 30),
    NUM_2("key_2", "2", 31),
    NUM_3("key_3", "3", 32),
    NUM_4("key_4", "4", 33),
    NUM_5("key_5", "5", 34),
    NUM_6("key_6", "6", 35),
    NUM_7("key_7", "7", 36),
    NUM_8("key_8", "8", 37),
    NUM_9("key_9", "9", 38),
    NUM_0("key_0", "0", 39),
    ENTER("key_enter", "Enter", 40),
    ESC("fun_esc", "Esc", 41),
    BACKSPACE("key_backspace", "Backspace", 42),
    TAB("key_tab", "Tab", 43),
    SPACE("key_space", "Space", 44),
    MINUS("key_minus", "-", 45),
    EQUAL("key_equal", "=", 46),
    LEFT_BRACKET("key_leftBracket", "[", 47),
    RIGHT_BRACKET("key_rightBracket", "]", 48),
    BACKSLASH("key_backslash", "\\", 49),
    NON_US_NUM("key_nonUsNum", "NonUsNum", 50),
    SEMICOLON("key_semicolon", ";", 51),
    QUOTE("key_quote", "'", 52),
    GRAVE_ACCENT("key_graveAccent", "`", 53),
    COMMA("key_comma", ",", 54),
    PERIOD("key_period", ".", 55),
    SLASH("key_slash", "/", 56),
    CAPS_LOCK("key_capsLock", "CapsLock", 57),
    F1("fun_f1", "F1", 58),
    F2("fun_f2", "F2", 59),
    F3("fun_f3", "F3", 60),
    F4("fun_f4", "F4", 61),
    F5("fun_f5", "F5", 62),
    F6("fun_f6", "F6", 63),
    F7("fun_f7", "F7", 64),
    F8("fun_f8", "F8", 65),
    F9("fun_f9", "F9", 66),
    F10("fun_f10", "F10", 67),
    F11("fun_f11", "F11", 68),
    F12("fun_f12", "F12", 69),
    PRINT_SCREEN("fun_printScreen", "PrintScreen", 70),
    SCROLL_LOCK("fun_scrollLock", "ScrollLock", 71),
    PAUSE("fun_pause", "Pause", 72),
    INSERT("edit_insert", "Insert", 73),
    HOME("edit_home", "Home", 74),
    PAGE_UP("edit_pageUp", "PageUp", 75),
    DELETE("edit_delete", "Delete", 76),
    END("edit_end", "End", 77),
    PAGE_DOWN("edit_pageDown", "PageDown", 78),
    RIGHT_ARROW("edit_rightArrow", "Right", 79),
    LEFT_ARROW("edit_leftArrow", "Left", 80),
    DOWN_ARROW("edit_downArrow", "Down", 81),
    UP_ARROW("edit_upArrow", "Up", 82),
    NUM_LOCK("pad_numLock", "NumLock", 83),
    NUM_SLASH("pad_slash", "/", 84),
    NUM_ASTERISK("pad_asterisk", "*", 85),
    NUM_MINUS("pad_minus", "-", 86),
    NUM_PLUS("pad_plus", "+", 87),
    NUM_ENTER("pad_enter", "Enter", 88),
    PAD_NUM_1("pad_num1", "1", 89),
    PAD_NUM_2("pad_num2", "2", 90),
    PAD_NUM_3("pad_num3", "3", 91),
    PAD_NUM_4("pad_num4", "4", 92),
    PAD_NUM_5("pad_num5", "5", 93),
    PAD_NUM_6("pad_num6", "6", 94),
    PAD_NUM_7("pad_num7", "7", 95),
    PAD_NUM_8("pad_num8", "8", 96),
    PAD_NUM_9("pad_num9", "9", 97),
    PAD_NUM_0("pad_num0", "0", 98),
    PAD_NUM_PERIOD("pad_period", ".", 99),
    NON_US_BACKSLASH("nonUsBackslash", "NonUsBackslash", 100),
    APPLICATION("application", "Application", 101),
    POWER("power", "Power", 102),
    PAD_EQUAL("pad_equal", "=", 103),
    ;

    private String key;
    private String text;
    private Integer code;

    KeysEnum(String key, String text, Integer code) {
        this.key = key;
        this.text = text;
        this.code = code;
    }
}
